package com.itheima.principles.OpenClosed;

/*
 *@ProjectName:design_patterns
 *@Description:客户端
 *@Time: 2021/10/10 9:55
 *@Author: XGQ
 */
public class Client {
    public static void main(String[] args) {
        //1.创建搜狗输入法对象
        SougouInput input = new SougouInput();
        //2.创建皮肤对象
        //DefaultSkin skin = new DefaultSkin();
        HeimaSkin skin = new HeimaSkin();
        //3.将皮肤设置到输入法中
        input.setSkin(skin);
        
        //4,显示皮肤
        input.display();
    }
}